import Home from '../components/Home.vue'
import Login from '../components/Login.vue'
import Manage from '../components/Manage.vue'
import Flowing from '../components/Flowing.vue'
import Information from '../components/Information.vue'
import Change from '../components/change.vue'
import Detail from '../components/Detail.vue'

export default[
    {
        path: '/',
        component: Home,
        children: [
            { path: '', component: Manage, name: [0,0] },
            { path: '/detail/:id', component: Detail, name: [0,0] },
            { path: '/flowing', component: Flowing, name: [0,1] },
            { path: '/information', component: Information, name: [1,0] },
            { path: '/change', component: Change, name: [1,1] }
        ]
    },
    { path: '/login', component: Login }
]